/*
 * @Author: jiu yin
 * @Date: 2023-03-30 11:56:32
 * @LastEditTime: 2023-05-17 15:20:26
 * @LastEditors: jiu yin zhen jing
 * @FilePath: \init-admin\src\main.js
 * jiu
 */
import { createApp } from 'vue'
import {pinia} from '@/stores'
import i18n from '@/i18n'

import App from './App.vue'
import router from './router'

import './assets/main.css'
// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'


const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}



app.use(pinia)
app.use(router).use(i18n)

app.mount('#app')
